<a herf="#" onclick="jb();return false;">test 2 page</a>
<script>
 function jb()
 {
   alert("start");
var xmlHttpReq = new  ActiveXObject('Microsoft.XMLHTTP');
xmlHttpReq.open("post", "http://127.0.0.1:8080/", false);
xmlHttpReq.send();
alert(xmlHttpReq.responseText);
}
</script>